#include<iostream>
using namespace std;
#include<cmath>

int main(){

	double a[7];
	cout<<"Please input 7 float numbers:"<<endl;
	for(int i=0;i<7;i++){
		cout<<"a["<<i<<"]=";
		cin>>a[i];
	}
	double k;
	for(int i=6;i>=1;i--){
		for(int j=0;j<i;j++){
			if( a[j] < a[j+1] ){
				k = a[j];
				a[j] = a[j+1];
				a[j+1] = k;
			}
		}
	}
	cout<<" From large to small: "<<endl;
	for(int i=0;i<7;i++)
		cout<<a[i]<<", ";
	cout<<endl;
	return 0;
}
